package com.itcast.consumer.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itcast.consumer.domain.Setmeal;
import com.itcast.consumer.domain.request.SetmealPageReqDTO;
import com.itcast.consumer.domain.response.SetmealDetailResDTO;
import com.itcast.consumer.domain.response.SetmealPageResDTO;
import com.jzo2o.common.model.PageResult;

/**
 * <p>
 * 套餐表 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-05
 */
public interface ISetmealService extends IService<Setmeal> {

    /**
     * 分页查询套餐
     * @param setmealPageReqDTO
     * @return
     */
    PageResult<SetmealPageResDTO> pageQuery(SetmealPageReqDTO setmealPageReqDTO);

    /**
     * 根据id查询套餐详情
     * @param id
     * @return
     */
    SetmealDetailResDTO findDetail(Integer id);
}
